﻿using System;
using System.Collections.Generic;
using System.Text;
using Eqwww.Domain.Models.QuartzJob;
using Eqwww.Code;
using Eqwww.Data;
using System.Linq;
using Microsoft.EntityFrameworkCore;

namespace Eqwww.QuartzJob.Application
{
    public interface IScheduleApp
    {
        List<ScheduleModel> FindList(Pagination pagination);
        ScheduleModel Get(string id);
        ModelResult Create(ScheduleModel model, ScheduleLogModel logModel);
        ModelResult Update(ScheduleModel model, ScheduleLogModel logModel);
        ModelResult Delete(ScheduleModel model, ScheduleLogModel logModel);
        IList<ScheduleLogModel> FindLogList(Pagination pagination, string scheduleId);
    }
}
